﻿<sdk:ChildWindow x:Class="Infrastructure.Controls.ErrorWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                      xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
           Width="400" Height="Auto"
           HasCloseButton="False">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition  Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="btnOk" Content="OK" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,2,0,2" Grid.Row="1"
                Click="btnOk_Click" />
        <TextBlock x:Name="lblError"
                   MinHeight="26"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Top"
                   Width="378"
                   TextWrapping="Wrap" />
    </Grid>
</sdk:ChildWindow>